package com.ruoyi.user.model.pojo.request.app;


import com.ruoyi.common.core.annotation.MobileValid;
import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("发送验证码")
public class SendCodeRequest {
    @Schema(description = "手机号")
    @NotBlank(message = "手机号不可为空")
    @MobileValid(message = "手机号格式不正确")
    private String phone;
}
